package com.filetransfer.filesTCP;

import org.junit.jupiter.api.Test;

/**
 * Description: these message can be deleted
 * Author:sold out
 * Create Date: 2021/11/23 14:18
 * Version: JDK 1.8
 */
public class T {
    @Test
    public void tes () {
        String fileName = "abc.txt";
        String[] split = fileName.split("\\.");
        System.out.println(split[split.length - 1]);

    }
}
